package com.dcits.electronic_account.mapper;

import com.dcits.electronic_account.bean.VirtualAccount;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * @Author: CZJ
 * @Date： 2022/6/28
 */

@Repository
public interface UserMapper {

    void deleteVirtualAccountByUserId(VirtualAccount virtualAccount);

    void deleteLoginRecordByUserId(VirtualAccount virtualAccount);

    void deleteyVirtualBankByUserId(VirtualAccount virtualAccount);

    VirtualAccount getUserInfoById(VirtualAccount virtualAccount);

    boolean updateUserInfo(VirtualAccount virtualAccount);

    String userNameExist(VirtualAccount virtualAccount);

    String phoneExist(VirtualAccount virtualAccount);

    String idNumberExist(VirtualAccount virtualAccount);
}
